package com.xc.mail.mapper;

import com.xc.mail.pojo.Employee;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @author admin
 * @version 1.0.0
 * @ClassName EmployeeMapper.java
 * @Description TODO
 * @createTime 2021年04月23日 16:02:00
 */
@Repository
public interface EmployeeMapper {


    Employee getEmpById(@Param("id") Integer id);

    int updateEmp(Employee employee);

    int addEmp(Employee employee);

    void delEmp(@Param("id") Integer id);

    Employee getEmp(@Param("id") Integer id,@Param("gender") String gender);
}
